package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 访问密钥对象 parking_access_keys
 * 
 * @author dongdong
 * @date 2025-08-21
 */
public class ParkingAccessKeys extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 访问密钥ID */
    @Excel(name = "访问密钥ID")
    private String accessKeyId;

    /** 访问密钥 */
    @Excel(name = "访问密钥")
    private String accessSecret;

    /** 平台ID */
    @Excel(name = "平台ID")
    private String platformId;

    /** 平台名称 */
    @Excel(name = "平台名称")
    private String platformName;

    /** 状态: 1-启用, 0-禁用 */
    @Excel(name = "状态: 1-启用, 0-禁用")
    private Integer status;

    /** 长链接地址 */
    @Excel(name = "长链接地址")
    private String wssUrl;

    /** 过期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "过期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    /** 删除标志（0存在 1删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAccessKeyId(String accessKeyId) 
    {
        this.accessKeyId = accessKeyId;
    }

    public String getAccessKeyId() 
    {
        return accessKeyId;
    }
    public void setAccessSecret(String accessSecret) 
    {
        this.accessSecret = accessSecret;
    }

    public String getAccessSecret() 
    {
        return accessSecret;
    }
    public void setPlatformId(String platformId) 
    {
        this.platformId = platformId;
    }

    public String getPlatformId() 
    {
        return platformId;
    }
    public void setPlatformName(String platformName) 
    {
        this.platformName = platformName;
    }

    public String getPlatformName() 
    {
        return platformName;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setWssUrl(String wssUrl) 
    {
        this.wssUrl = wssUrl;
    }

    public String getWssUrl() 
    {
        return wssUrl;
    }
    public void setExpireTime(Date expireTime) 
    {
        this.expireTime = expireTime;
    }

    public Date getExpireTime() 
    {
        return expireTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("accessKeyId", getAccessKeyId())
            .append("accessSecret", getAccessSecret())
            .append("platformId", getPlatformId())
            .append("platformName", getPlatformName())
            .append("status", getStatus())
            .append("wssUrl", getWssUrl())
            .append("expireTime", getExpireTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
